package com.jxdinfo.hussar.activitidemo.dao;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMImgPosition;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMImgPositionDic;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMImgPositionDicForPic;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMImgPositionPictures;

/**
 * <p>
 * 车型图片故障代码位置表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2019-05-29
 */
public interface TdbYjMImgPositionMapper extends BaseMapper<TdbYjMImgPosition> {

    List<TdbYjMImgPosition> selectByCondition(Page page, TdbYjMImgPosition position);
    Integer selectCountByCondition(TdbYjMImgPosition position);
	int addCltpInfo(TdbYjMImgPosition tdbYjMImgPosition);
	int updateCltpDicInfo(TdbYjMImgPositionDic tdbYjMImgPosition);
	int addCltpImg(TdbYjMImgPositionPictures tdbYjMImgPositionPictures);
	int updateCltpImg(TdbYjMImgPositionPictures tdbYjMImgPositionPictures);
	int updateBatch(Map tdbYjMImgPosition);
	List<TdbYjMImgPositionDicForPic> getsign(TdbYjMImgPosition tdbYjMImgPosition);
	String selectIdByTraintypeAndCode(TdbYjMImgPosition tdbYjMImgPosition);
	List<TdbYjMImgPositionPictures> initCltpImgInfo(TdbYjMImgPosition tdbYjMImgPosition);
	int deleteCltpImg(TdbYjMImgPositionPictures tdbYjMImgPositionPictures);
}
